﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HttpServer
{
    public partial  class HttpContent
    {
        public HttpReqeust Reqeust { get; set; }
        public HttpResponse Response { get; set; }

        public HttpContent(byte[] bs,int len)
        {
            Reqeust=new HttpReqeust(Encoding.UTF8.GetString(bs,0,len));
            Response=new HttpResponse(Reqeust);
        }
    }
}
